function foo(callback: (_1:bool, ...foo:Array<number>) => number){}